package com.panda.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panda.entity.po.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * (Article)表数据库访问层
 *
 * @author makejava
 * @since 2022-03-13 17:22:17
 */
public interface ArticleMapper extends BaseMapper<Article> {
    List<Map<String,String>> createArticleCount();

    List<Map<String,String>> createdCategoryOfWeek(@Param("categoryName") String categoryName);
}

